package pro.shushi.pamirs.ce.hr.core.extpoint;

import pro.shushi.pamirs.meta.annotation.Ext;
import pro.shushi.pamirs.meta.annotation.ExtPoint;
import pro.shushi.pamirs.meta.api.session.PamirsSession;
import pro.shushi.pamirs.ce.hr.api.model.CustBusinessTrip;

@Ext(CustBusinessTrip.class)
public class CustBusinessTripDealExtpoint implements BusinessTripDealExtpoint {

    @Override
    @ExtPoint.Implement(displayName = "", priority = 90)
    public CustBusinessTrip createAfter(CustBusinessTrip trip) {
        PamirsSession.getMessageHub().info("走定制的扩展点[createAfter]");
        return trip;
    }

    @Override
    @ExtPoint.Implement()
    public CustBusinessTrip updateBefore(CustBusinessTrip trip) {
        PamirsSession.getMessageHub().info("走定制的扩展点[updateBefore]");
        return trip;
    }

}